package com.san.hkhospital.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName:Account
 * PackageName:com.san.hkhospital.entity
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Account implements Serializable {
    /**
     * 账户编号
     */
    private Integer accId;

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 类型编号-账户
     */
    private Integer typeId;

    /**
     * 余额
     */
    private Long balance;

    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @Builder.Default
    private LocalDateTime createTime = LocalDateTime.now();
    /**
     * 类型名称 - 新增字段
     */
    private String typeName;
    /**
     * 类型名称 - 新增字段
     */
    private String sysuserName;

    private static final long serialVersionUID = 1L;
}